.orders-page {
  min-height: 100vh;
  background: #f5f5f5;
}

.orders-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: white;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-title {
  flex: 1;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  margin-left: -32px;
}

.order-tabs {
  background: white;
}

.order-tabs .ant-tabs-nav {
  margin: 0;
  padding: 0 0px;
}

.order-tabs .ant-tabs-tab {
  padding: 16px 8px;
  font-size: 14px;
}

.order-tabs .ant-tabs-content-holder {
  background: #f5f5f5;
  min-height: calc(100vh - 104px);
}

.orders-list {
  padding: 0 0 20px 0;
}

.order-item {
  background: white;
  margin: 12px 16px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: transform 0.2s;
}

.order-item:active {
  transform: scale(0.98);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 16px 12px;
  border-bottom: 1px solid #f0f0f0;
}

.order-no {
  font-size: 14px;
  color: #666;
}

.ant-badge {
  font-size: 12px;
}

.order-products {
  padding: 12px 16px;
}

.order-product {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.order-product:last-child {
  margin-bottom: 0;
}

.product-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

.product-info {
  flex: 1;
  min-width: 0;
}

.product-name {
  font-size: 14px;
  color: #333;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.product-specs {
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
}

.product-price-qty {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-size: 14px;
  font-weight: 500;
  color: #ff6b35;
}

.quantity {
  font-size: 12px;
  color: #666;
}

.order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px 16px;
  border-top: 1px solid #f0f0f0;
}

.order-total {
  font-size: 14px;
  color: #333;
}

.total-amount {
  color: #ff6b35;
  font-weight: bold;
  font-size: 16px;
}

.order-actions {
  display: flex;
  gap: 8px;
}

.order-actions .ant-btn {
  height: 32px;
  border-radius: 16px;
  font-size: 12px;
  padding: 0 16px;
}

.order-actions .ant-btn-primary {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  border: none;
}

.order-time {
  padding: 0 16px 12px;
  font-size: 12px;
  color: #999;
}

/* 空状态样式 */
.ant-empty {
  padding: 40px 16px;
}

.ant-empty-description {
  color: #999;
}

/* 响应式设计 */
@media (max-width: 375px) {
  .order-item {
    margin: 8px 12px;
  }
  
  .order-header {
    padding: 12px;
  }
  
  .order-products {
    padding: 8px 12px;
  }
  
  .order-footer {
    padding: 8px 12px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .order-actions {
    align-self: flex-end;
  }
} 